import { createAction } from "redux-actions";

/** 设置页面标题 */
export const SET_PAGE_TITLE = "SET_PAGE_TITLE";
export const setPageTitle = createAction(SET_PAGE_TITLE, (title) => title);

/** 设置系统位置 */
export const SET_LOCATION = "SET_LOCATION";
export const setLocation = createAction(SET_LOCATION, (location) => location);